<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Game_id')}:</label>
        <div class="row" data-toggle="cxselect" data-selects="game_id,gt_id,pid">
            <div class="col-xs-12 col-sm-2">
                <select class="game_id form-control" name="row[game_id]"
                        data-url="games/game_info/cxselect?type=game">
                        
                    </select>
            </div>
            <div class="col-xs-12 col-sm-2">
                <select class="gt_id form-control" name="row[gt_id]"
                        data-url="games/game_info/cxselect?type=gt_id"
                        data-query-name="game_id"></select>
            </div>
            <div class="col-xs-12 col-sm-3">
                <select class="pid form-control" name="row[pid]"
                        data-url="games/game_info/cxselect?type=pid"
                        data-query-name="gt_id"></select>
            </div>
            <input type="hidden" class="operate" data-name="gt_id" value="="/>
            <input type="hidden" class="operate" data-name="pid" value="="/>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>__('Hidden')])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('选择属性')}:</label>
        <div class="col-xs-12 col-sm-8" id="sku">
            
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
